package com.dog.view.model;

import com.dog.service.IApplicantService;
import com.dog.service.ICustomerService;
import com.dog.service.impl.CustomerService;
import com.dog.spring.SpringManager;
import org.apache.log4j.Logger;


/**
 * User: Kuttubek Aidaraliev
 * Date: 12.04.2010
 * Time: 16:34:10
 */
public class CustomerDataModel extends BaseExtendedDataModel {

    private CustomerService customerService;
    Logger logger = Logger.getLogger(CustomerService.class);

    public CustomerDataModel() {
        logger.info("initializing = " + CustomerDataModel.class.getName());
        customerService = (CustomerService) SpringManager.getBean("customerService");
//        setManager(customerService);
    }

    public CustomerService getCustomerService() {
        return customerService;
    }

    public void setCustomerService(CustomerService customerService) {
        this.customerService = customerService;
    }

}

